package com.project.service.impl;

import com.project.bean.SchoolNumberBean;
import com.project.mapper.ISchoolNumberMapper;
import com.project.service.ISchoolNumberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author(王思翰)
 * @Description(类的描述)学校数量业务层实现类
 * @Date(创建时间) 2021/7/13 16:08
 */
@Service
@Transactional
public class SchoolNumberServiceImpl implements ISchoolNumberService {
    @Autowired
    private ISchoolNumberMapper mapper;

    @Override
    public SchoolNumberBean findById(int cityId) {
        return mapper.findById(cityId);
    }
}
